#pragma once
#include <QWidget>
#include <QTimer>
#include <QBoxLayout>
#include <QPushButton>
#include <QMap>

struct TimeDownStruct;
class TimeOperWidget : public QWidget
{
    QTimer _timer;
    QMap<QString, TimeDownStruct> _timedownStructs;
public:
    explicit TimeOperWidget(QWidget *par = nullptr);
    ~TimeOperWidget();

protected:
    QBoxLayout *newCountdownWdg();
    void startCountdown();
};



